projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a142e
)
* (log-edit-show-diff): Error out if the diff function is not set.
author
Dan Nicolaescu
<dann@ics.uci.edu>
Sat, 1 Dec 2007 20:34:23 +0000
(20:34 +0000)
committer
Dan Nicolaescu
<dann@ics.uci.edu>
Sat, 1 Dec 2007 20:34:23 +0000
(20:34 +0000)
lisp/log-edit.el
patch
|
blob
|
history
diff --git
a/lisp/log-edit.el
b/lisp/log-edit.el
index 46f1544d9ebb6086fc0e90a2e97c65bc542445d9..a2f749ad127b6c10a011f1ac5ee77909517a2f7d 100644
(file)
--- a/
lisp/log-edit.el
+++ b/
lisp/log-edit.el
@@
-435,7
+435,9
@@
If you want to abort the commit, simply delete the buffer."
(defun log-edit-show-diff ()
"Show the diff for the files to be committed."
(interactive)
- (funcall log-edit-diff-function))
+ (if (functionp log-edit-diff-function)
+ (funcall log-edit-diff-function)
+ (error "Diff functionality has not been setup")))
(defun log-edit-show-files ()
"Show the list of files to be committed."